Common javascripts file