Own js file for plot functions
Splits lookup in dbupdate was int based, incoming data was str based