chore(bower-release): Cleaned up nested functions in stage copy