code cleanup and move tooltip service to tipitaka app js