amending CSS and JS paths to ensure add-on works in subdirectory