MOD: properties for javascript optimization