Properties view updated and some js bugs fixed