fix errors(#254, #270) with require.js in shifty.js