add application javascript