js path issue for books media tab