fix Javascript error on engraving calculator

Fixes #95
Merge branch 'spree-2-2-stable'
Get the array to use "delete_if" method
Merge pull request #1 from D-system/master

Fix ActiveRecord::Base undefined method "delete_if"