Add basic JS for playing samples