Removed unnecessary debug statements in js controller