Skip non-JS scripts and non-CSS styles

Really need to make tests for this!

Fixes #11