Convert JS file to UNIX newline style
Remove redefinition of dow variable
Remove oldDisplay as it wasn't being used

Besides that, it relied on a method that was removed in jQuery 1.8