added javascript widget