added button disabled

Also added extra dependencies for other files
fixed js lint errors

added modal as dependency, must have got missed in merge
added global underscore variable so jslint doesn't complain
fixed js lint errors

got rid of un neccessary code
fixed js lint errors