Add nokogiri gem for relativising paths
Update Rules
Create main.js
Add *.js rules