From http://allthingswordpress.blogspot.com/2013/03/enqueue-scripts-on-custom-post-addedit.html