Basic javascript for small web sites