boostrap data with ruby to js. not sure if good hack or just lazy