Added a jsfiddle for playing around.