Adding first two action implementations of playlistjs.
Manually tested on test page which will soon be checked-in.
adding the 'wait' custom action.
add example page.