Code cleanup, Fix outdated portfolio script

Some lines of the javascript are outdated and are used to select IE
versions. Need to find alternative. Comments out broken lines out.