add dmp library
add dmp javascript library
require libraries where needed