Adding java and javascript resources