JavaScript - The Weird Parts