Convert Php Variable To Javascript Interview Coding