adding theme JS file and link cancelling funtion for menu items