Javascript Use String Variable Assignment In C