fix when extend_javascript_path is empty