Added the preliminary for the JS ErrorReporter constructor. Inlcudes constructor for the error itself as well as a post method.