added new javascript goodies