added js folder with necessary control javascripts