Lina, added factory and way around production js compression