/JavaScript Snippets/Java helpers/