I'm learning javascript. Here are some tricks I've picked up.