refine the code not to use meteor Assets