add peper clip gem and some js