Updated to check first if osc func already defined

Last require() updated could cause a fatal function redeclaration error if it's already defined.  Also added license information.