Use handler method to link static resources