Updated JavaScriptFileWriter, added .equals() method to Type.