Bump JavaScript timeout to 2.5 seconds
Update rspec stub syntax