removing log from JS, still getting familiar with push/pull