adding scripts back into the layouts (still unable to get jquery to work)