pushed def of em/px to after load