fixed bug with bullets, added experimental cocoonjs type canvas to library
updated sort function calls