Updated to try and show graphics

Updated js file.