A few code complete snippets for PHP and JavaScript development