simple javascript snippets