enhancement for javascripts