small fixes
some updates to js