JS: remove stray log statement
BUG: remove unused arguments from fig_to_dict
EX: fix cross-talk in heart_path get_element