One final fix after jsfiddle checking this code.