Fixing issue 22

With this fix i can see  .js files being created for ./build folder.