added javascript proxy