Javascript intro from class