Fix deprication error
Store JS data as hash in DB, fix EE 2.5.4 change