Remove reseting container as this line was left in accidentally.
Correcting variable names
JSLint/hint corrections