Added js and css code from ymacs