added requirejs support
added dist folder
updated version replacement
added main requirejs config