pointing to compressed js scripts and added db save logging