Simple JavaScript module manager