Ignore JavaScript in models and views