Add js with useful functions