added js functions and js selector files, also modified the jquery selectors got function to work.