refactor function call

removes jQuery use
Merge remote-tracking branch 'martinburch/feature_embed' into feature_embed