Right click your browser and search for the below script you will find only HTML content inside flex.js. and if you navigate through file structure you can see there one folder name lib is missing inside js folder. create the lib folder under js foler and place the flex.js over there.
you can copy the lib folder from the below file attachment.
Click thumbnail to see full-size image
(File Size: 14KB - Downloads: 63)