More verbose error messages. Now all js files more simplified and clean(Fixes #2)