Merging some Javascript changes

I created a global variable for the CharacterBuilder javscript. It's going to get more and more involved with how the builder works, so it needs to be clean, modern, and readable.