Improve Java and JavaScrit code. Add JavaDoc and JSDoc comments. Update plugin id and Java namespace. Bump plugin version to 0.0.2.