adding javascript in assets
modify tips code for typeahead
removing unwanted js