Fixed JS module excluding during build