Use cdnjs for JavaScript dependencies
Fix an issue with the latest version of Datejs