added some js scaffolding