I am using MVC framework. jquery is loaded in the layout page but when I try to run script on pages that are using the layout page, the script will not run and gives the err