Append js at the end of file

Append js at the end of file