Added CSS and JS fields to pages and provided some helpers