updateing build file

using common.js as config for build so we don’t have to define paths
twice