Please no inline javascript. Put this in the asset pipeline.