Added Bug Fixes for dropdown list and syntax errors in js files