Fixes jQuery error

jQuery doesn't seem to load properly on the application. This fix ensures that the protocol used to pull down jQuery matches that of the initial request.