Move device.js to libs folder and update its location
Move week and weekday to libs folder
Remove unused dependency
Update week and weekday libs