masterscommunication
I still cannot login via ftp , could you please edit your post and add login for THIS CPANEL ?
PS
The error you are receiving is a syntax error , since i tested the code on my uber local installation and it works fine please check better that the code is correctly added to the file , it should be like below.
$map_js = '//maps.googleapis.com/maps/api/js?key=' . $api_key;//v3
Regards