add initial javascript