added mediahack.js