Learn how to type javascript