Use :erb instead of :javascript haml tag