removed code from .js file