First version framework struct javascript