Prepare for 0.4.0 release
Update broken references to stmd.js (fixes #17)