get dimension data from compiled source and include js libs