fixed jquery path and switched to using coffeescript