trunk js updates: new jquery, compile script accepts build type, app js uses native onReady instead of window load which broke ie8.