Add Photoshop-like rulers and mouse position to a container element using jQuery.