Testing exclusion of javascript