javascript code examples across computers