added javascript (wip)