fix wrong javascript tag haml