added first prototype for js thing