some js fixs