using formatting from config file for times. added javascript tag back