php script to modify impress.js slides