Added missing semi-colons in utils.js
Updated the default invalidating attribute filter in JavaScript