fix broken JS init

https://github.com/crowdfavorite/wp-post-formats/issues/54