reject non-css/js files from inject. Updated documentation. Added rejection test