Actualized master version
Moved add_hooks to constructor
Bloat the code for safer look
a cheaper check whether to try to replace ecwid javascript code with shortcodes
Minor change to scriptjs rendered state detection
some strange escaping
minor code style changes and changed minicart layout parameter escaping