finished embedding content
fixed some problems with the core embed plugin
support different url for booksmarks
jshint fix