use a haml :javascript tag instead of <script>