Removed factor
Added factor back;
updated gemfile
updated production settings
Fixed some js bugs