Sepearated core looma js from app function
Tried loading PDF