Prevent error if no js/css scripts are being added
Use path for routing