js added to main file