remove cursor, fix some js