PHP wrapper for interaction with Morris.js Javascript library