Add js at end of file