initial javascript things