Front end code snippets and utilities for web based MOJ services