Added global javascript file and linked to all views