Unnecessary javascript setter and getter deleted.
Unnecessary javascript functions deleted.