Switched to rails engine with default server javascript