javascript study init