Adds media JavaScript file