fixed 16mb save error and enable javascript code smells; REQUIRES REBUILD OF DB