removed php inserts from js code being appended on building view ajax call