Add custom js to Service details view and add settings for publish