Relative paths for js and css.
Made control_route optional for non ptz cameras.