Refactor stripe javascript to use assets pipeline
Fix for initializing Rails environment before precompile