convert to rails assets pipeline