had to move the js folder in assets
updated version