jquery readyfunction now working

gem added and the order of javascript files correctly changed