some bits of javascripts