add basic js functions for buy/preview
update audio html in js file