Added some missing properties and jsdocs to the constructor. Tidied up a bunch of code formatting (to keep it inline with the rest of Pixi).