javascript study notes